<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  <table width="920px" border="1" height="100px"  align="center" bordercolor="#FFffff" background="IMG/top_ground.gif">
  <tr>
    <td><align="center" ></td>
  </tr>
  </table>

  <table width="920px" border="1"  height="40px" align="center"  bgcolor="#FFFF00" >
  <tr>
    <td align="center" width="130px"><a href="blockcheck.jsp" ><img src="IMG/top01.png"></img></a> </td>
    <td align="center" width="120px"><a href="alliance.jsp"><img src="IMG/top02.png"></img></a></td>
    <td align="center" width="120px"><a href="question.jsp"><img src="IMG/top03.png"></img></a></td>
    <td align="center" width="120px"><a href="Creative.jsp"><img src="IMG/top04.png"></img></a></td>
        <td align="center" width="120px"><a href="school.jsp"><img src="IMG/top05.png"></img></a></td>
            <td align="center" width="120px"><a href="chat.jsp"><img src="IMG/top06.png"></img></a></td>
    <td align="center" width="116px">
     
    
    <%  
    String username=(String)session.getAttribute("username"); 
    if(username==null)
       {
    %>   
       <a href="login.jsp">登陆</a>
       <a href="register.jsp">注册</a>
                 <a href="frist.jsp">主页</a>
      
       
    <%}else{%>
     
         <%= username %>
     
         <a href="Logout.do">退出</a>
          <a href="frist.jsp">主页</a>
      <%} %>
	 
	    
	    </td>
  </tr>
</table>

